package com.ruoyi.system.domain.construction;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString

public class QualifiPicInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资格证书图片ID */
    private Integer qualifiPicId;

    /** 施工队ID   这里加错了 */
    @Excel(name = "店铺ID")
    private Integer constructionId;
    private Integer numsupplierId;
    private Integer supplierIdnum;
    private Integer constructionIdsnum;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String conUrl;

    /** 图片是否有效：0无效 1有效 */
    @Excel(name = "图片是否有效：0无效 1有效")
    private Integer conStatus;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    /** 证书类型1:营业执照  2施工资质  3荣誉证书 */
    @Excel(name = "证书类型1:营业执照  2施工资质  3荣誉证书")
    private Integer qualifiType;

    public Integer getConstructionIdsnum() {
        return constructionIdsnum;
    }

    public void setConstructionIdsnum(Integer constructionIdsnum) {
        this.constructionIdsnum = constructionIdsnum;
    }

    public Integer getNumsupplierId() {
        return numsupplierId;
    }

    public void setNumsupplierId(Integer numsupplierId) {
        this.numsupplierId = numsupplierId;
    }

    public Integer getSupplierIdnum() {
        return supplierIdnum;
    }

    public void setSupplierIdnum(Integer supplierIdnum) {
        this.supplierIdnum = supplierIdnum;
    }

    public void setQualifiPicId(Integer qualifiPicId)
    {
        this.qualifiPicId = qualifiPicId;
    }

    public Integer getQualifiPicId()
    {
        return qualifiPicId;
    }
    public void setConstructionId(Integer constructionId)
    {
        this.constructionId = constructionId;
    }

    public Integer getConstructionId()
    {
        return constructionId;
    }
    public void setConUrl(String conUrl)
    {
        this.conUrl = conUrl;
    }

    public String getConUrl()
    {
        return conUrl;
    }
    public void setConStatus(Integer conStatus)
    {
        this.conStatus = conStatus;
    }

    public Integer getConStatus()
    {
        return conStatus;
    }
    public void setModifiedTime(Date modifiedTime)
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime()
    {
        return modifiedTime;
    }
    public void setQualifiType(Integer qualifiType)
    {
        this.qualifiType = qualifiType;
    }

    public Integer getQualifiType()
    {
        return qualifiType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("qualifiPicId", getQualifiPicId())
                .append("constructionId", getConstructionId())
                .append("conUrl", getConUrl())
                .append("conStatus", getConStatus())
                .append("modifiedTime", getModifiedTime())
                .append("qualifiType", getQualifiType())
                .append("numsupplierId", getNumsupplierId())
                .append("supplierIdnum", getSupplierIdnum())
                .append("constructionIdsnum", getConstructionIdsnum())
                .toString();
    }
}
